package work817;

import java.io.Serializable;

public class Student implements Serializable {
  private int id;
  private String name;
  //transient  被transient关键字所修饰的属性将不序列化
  private transient String IdCard;
  private double JavaScore;
  private double JSPScore;
  private double SQLScore;

  public Student() {
  }

  public Student(int id, String name, String idCard, double javaScore, double JSPScore, double SQLScore) {
    this.id = id;
    this.name = name;
    IdCard = idCard;
    JavaScore = javaScore;
    this.JSPScore = JSPScore;
    this.SQLScore = SQLScore;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getIdCard() {
    return IdCard;
  }

  public void setIdCard(String idCard) {
    IdCard = idCard;
  }

  public double getJavaScore() {
    return JavaScore;
  }

  public void setJavaScore(double javaScore) {
    JavaScore = javaScore;
  }

  public double getJSPScore() {
    return JSPScore;
  }

  public void setJSPScore(double JSPScore) {
    this.JSPScore = JSPScore;
  }

  public double getSQLScore() {
    return SQLScore;
  }

  public void setSQLScore(double SQLScore) {
    this.SQLScore = SQLScore;
  }
}
